<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>贷款申请 - 小额</title>
<%@ include file="/common/include/title.jsp"%>
</head>
<body>
	<!-- 网页头部开始 -->
	<%@ include file="/common/include/header.jsp"%>
	<div class="container-fluid">
		<div class="row">
			<div class="col-sm-8 col-sm-offset-1 main">
				<h2 class="sub-header">贷款申请表信息</h2>
				<form id="form" class="form-horizontal" action="${rootpath }/head/orders/OrdersInsertSubmit.htm" method="post">
				<div class="form-group">
						<label for="investor" class="col-sm-2 control-label">投资方:</label>
						<div class="col-sm-8">
							${requestScope.investor.name }
						</div>
					</div>
					<div class="form-group">
						<label for="email" class="col-sm-2 control-label">银行卡:</label>
						<div class="col-sm-8">
								<select name="cardId" class="form-control" >
										<c:forEach items="${requestScope.usersCardList }" var="usersCard" varStatus="stat">
											<option value="${usersCard.id }">${usersCard.name }_${usersCard.cardno }</option>
										</c:forEach>
								</select>
						</div>
					</div>
					<div class="form-group">
						<label for="name" class="col-sm-2 control-label">名称:</label>
						<div class="col-sm-8">
							<input type="text" id="name" name="name" value=""
								class="form-control" >
						</div>
					</div>
					<div class="form-group">
						<label for="loanMoney" class="col-sm-2 control-label">贷款金额:</label>
						<div class="col-sm-8">
							<input type="text" id="loanMoney" name="loanMoney" value=""
								class="form-control" placeholder="贷款金额">
						</div>
					</div>
					<div class="form-group">
						<label for="periods" class="col-sm-2 control-label">期数:</label>
						<div class="col-sm-8">
							<input type="text" id="periods" name="periods" value=""
								class="form-control" placeholder="期数">
						</div>
					</div>
					<div class="form-group">
						<label for="loanRate" class="col-sm-2 control-label">贷款利率:</label>
						<div class="col-sm-8">
						<fmt:formatNumber value="${requestScope.investor.loanRate }" pattern="#.##%"/>
						</div>
					</div>
					<div class="form-group">
						<label for="overdueRate" class="col-sm-2 control-label">逾期利率:</label>
						<div class="col-sm-8">
							<fmt:formatNumber value="${requestScope.investor.overdueRate }" pattern="#.##%"/>
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-8 col-sm-offset-2">
							<button class="btn btn-lg btn-primary" type="submit">提交</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>


	<!-- 提示信息 -->
	<div class="container">
		<div class="col-sm-8 col-sm-offset-1"></div>
	</div>
<%@ include file="/common/include/footer.jsp"%>
</body>
</html>